package LogicSide;


public class SongDetails {

	private int song_id;
	private String album_name;
	private String genre_name;
	private String song_name;
	private int year;
	private String artist_name;
	public String getAlbum_name() {
		return album_name;
	}
	public String getArtist_name() {
		return artist_name;
	}
	public String getGenre_name() {
		return genre_name;
	}
	public String getSong_name() {
		return song_name;
	}
	public int getYear() {
		return year;
	}
	public void setAlbum_name(String album_name) {
		this.album_name = album_name;
	}
	public void setArtist_name(String artist_name) {
		this.artist_name = artist_name;
	}
	public void setGenre_name(String genre_name) {
		this.genre_name = genre_name;
	}
	public void setSong_name(String song_name) {
		this.song_name = song_name;
	}
	public void setYear(int year) {
		this.year = year;
	}
	public int getSong_id() {
		return song_id;
	}
	public void setSong_id(int song_id) {
		this.song_id = song_id;
	}
	public void fixNulls(){
		if(this.album_name == null)
			this.album_name = "";
		if(this.artist_name == null)
			this.artist_name = "";
		if(this.genre_name == null)
			this.genre_name = "";
		if(this.song_name == null)
			this.song_name = "";
	}
}
